var fs=require('fs');

var files=fs.readdirSync(__dirname);
files.forEach(function (file) {
    fs.watchFile(__dirname+'/'+file, function () {
        console.log('- '+file+' changed!');
    });
});